package com.mapper;


import com.domain.Booktype;
import com.domain.Record;
import com.github.pagehelper.Page;

public interface RecordMapper {

    //根据isbn查记录
    Record findByIsbn(String isbn);

    //新增借阅记录
    Integer addRecord(Record record);

   //查询借阅记录
    Page<Record> searchRecords(Record record);

    //借阅排行
    Page<Booktype> recordNum();
}
